package com.gxa.service.parking.impl;



import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.entity.parking.MonthPay;
import com.gxa.entity.parking.MonthSelect;
import com.gxa.mapper.parking.MonthPayMapper;
import com.gxa.service.parking.MonthPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Service
public class MonthPayServiceImpl extends ServiceImpl<MonthPayMapper, MonthPay> implements MonthPayService {
    @Autowired
    private MonthPayMapper monthPayMapper;
    @Override
    public List<MonthPay> selectAll() {

        return monthPayMapper.selectList(null);
    }

    @Override
    public MonthPay selectById(Integer id) {

        return  monthPayMapper.selectById(id);
    }

    @Override
    public List<MonthPay> selectByCondition(MonthSelect monthSelect) {
        return monthPayMapper.selectByCondition(monthSelect);
    }
}
